package com.geekcc.springboot.entity;

import cn.hutool.core.annotation.Alias;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

@ApiModel(value="com-geekcc-springboot-entity-Inventory")
@Data
@TableName(value = "inventory")
public class Inventory implements Serializable {
    /**
     * id
     */

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 商品ID
     */
    @Alias("商品ID")
    @TableField(value = "commodityID")
    @ApiModelProperty(value="商品ID")
    private String commodityId;

    /**
     * 商品名
     */
    @Alias("商品名")
    @TableField(value = "commodityName")
    @ApiModelProperty(value="商品名")
    private String commodityName;

    /**
     * 商品种类
     */
    @Alias("商品种类")
    @TableField(value = "commoditySpecies")
    @ApiModelProperty(value="商品种类")
    private String commoditySpecies;

    /**
     * 仓库位置
     */
    @Alias("仓库位置")
    @TableField(value = "location")
    @ApiModelProperty(value="仓库位置")
    private String location;

    /**
     * 登记人
     */
    @Alias("登记人")
    @TableField(value = "registrant")
    @ApiModelProperty(value="登记人")
    private String registrant;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_COMMODITYID = "commodityID";

    public static final String COL_COMMODITYNAME = "commodityName";

    public static final String COL_COMMODITYSPECIES = "commoditySpecies";

    public static final String COL_LOCATION = "location";

    public static final String COL_REGISTRANT = "registrant";
}